﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="Modify.aspx.cs" Inherits="Maticsoft.Web.studentInfo.Modify" Title="修改页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">    
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
        <tr>
            <td class="tdbg">
                
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
	<tr>
	<td height="25" width="30%" align="right">
		姓名
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtstuName" runat="server" Width="73px"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtstuName" ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtstuName" ErrorMessage="RegularExpressionValidator" ValidationExpression="[\u4e00-\u9fa5]{2,}">格式不对至少两个汉字</asp:RegularExpressionValidator>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		性别
	：</td>
	<td height="25" width="*" align="left">
		<asp:RadioButton ID="rdbman" runat="server" Checked="True" Text="男" />
        <asp:RadioButton ID="rdbwoman" runat="server" Text="女" />
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		单位名称
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtstuAddress" runat="server" Width="200px"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtstuAddress" ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		身份证号
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtstuNum" runat="server" Width="200px"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtstuNum" ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtstuNum" ErrorMessage="RegularExpressionValidator" ValidationExpression="(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/">格式不对</asp:RegularExpressionValidator>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		职务
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtstuPost" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		手机
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtstuPhone" runat="server" Width="200px"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtstuPhone" ErrorMessage="RequiredFieldValidator">不能为空</asp:RequiredFieldValidator>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		类别
	：</td>
	<td height="25" width="*" align="left">
		<asp:DropDownList ID="ddltype" runat="server">
            <asp:ListItem>党政机关</asp:ListItem>
        </asp:DropDownList>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		照片
	：</td>
	<td height="25" width="*" align="left">
		<asp:FileUpload ID="fuIndFile" runat="server" />
        <br />
        <asp:Image ID="Image1" runat="server" />
	</td></tr>
</table>

            </td>
        </tr>
        <tr>
            <td class="tdbg" align="center" valign="bottom">
                <asp:Button ID="btnSave" runat="server" Text="保存"
                    OnClick="btnSave_Click" class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'"></asp:Button>
                <asp:Button ID="btnCancle" runat="server" Text="取消"
                    OnClick="btnCancle_Click" class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'"></asp:Button>
            </td>
        </tr>
    </table>
</asp:Content>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceCheckright" runat="server">
</asp:Content>--%>

